<?php 
/**
*@author renchengli
*/
//数据库抽象类

abstract class db{
	abstract public function connect($h,$u,$p);
	abstract public function query($sql);
	abstract public function getAll($sql);
	abstract public function getRow($sql);
	abstract public function getOne($sql);
	abstract public function autoExecute($table,$data,$act='insert',$where='');
}



?>